<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>实验2_5计科2411张心雨0306241131</title>
		<style>
			ul{
				list-style: none;
				background-color: pink;
				display: flex;
				width: 324px;
				height: 50px;
				padding: 0;
			}
			li{
				padding: 10px 20px;
				text-align: center;
			}
			li:hover{
				background-color: black;
				color: pink;
			}
		</style>
	</head>
	<body>
		<ul>
			<li>链接1</li>
			<li>链接2</li>
			<li>链接3</li>
			<li>链接4</li>
		</ul>
	</body>
</html>